package com.lmh.ymw.service.user;


import com.lmh.ymw.entity.UserAddress;

import java.util.List;

/**
 * Created by bdqn on 2016/5/12.
 */
public interface UserAddressService {
    /**
     * 根据loginName 查询用户地址
     *
     */
    public List<UserAddress> queryUserAdressList(UserAddress userAddress);

    /**
     * 给用户添加地址
     * @return
     */
    public Integer addUserAddress(UserAddress userAddress);

    /**
     * 根据id查询地址
     *
     * @param id
     * @return
     */
    public UserAddress getUserAddressById(Integer id);

}
